﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WF.Model;
using WF.BusinessObject;

namespace WF.ViewModels.Workflow.KQApply
{
    class KQApprovalVM : ViewModelBase
    {
        public virtual KQApplyEntity GetKQApplyEntityByID(string ID)
        {
            BusinessObject.KQApply bo = CreateKQApply();
            return bo.GetById(ID);
        }
        public void UpdateKQApply(KQApplyEntity kQEntity)
        {
            BusinessObject.KQApply bo = CreateKQApply();
            bo.Update(kQEntity);
        }
    }
}
